<div class="card border-secondary mb-3" style="max-width: 40rem;margin: 0 auto">
  <div class="card-header">登录授权</div>
  <div class="card-body">
      <?php if(!empty($message)):?>
        <div class="alert alert-dismissible alert-danger">
          <button type="button" class="close" data-dismiss="alert">&times;</button>
            <?php echo htmlspecialchars($message)?>
        </div>
      <?php endif;?>
      <form name="login" action="/manage/index/login/" method="post">
        <fieldset>
          <div class="form-group">
            <label for="exampleInputEmail1">邮箱</label>
            <input type="email" class="form-control" name="email" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="输入邮箱">
          </div>
          <div class="form-group">
            <label for="exampleInputPassword1">密码</label>
            <input type="password" class="form-control"  name="password" id="exampleInputPassword1" placeholder="输入密码">
          </div>
          <button type="submit" class="btn btn-primary">登录</button>
        </fieldset>
          <?php if($redirect_url):?>
            <input type="hidden" name="redirect_url" value="<?php echo $redirect_url?>" />
          <?php endif;?>
      </form>
  </div>
</div>